package com.cn.jx.manager.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cn.jx.manager.service.query.IDocumentServiceQry;

/**
 * <p>DocumentController文档控制层 
 * @author <h1>jiangxu2  2019年11月20日</h1>
 * @version v1.11.20.2019
 * @see 
 * @since 1.0
 */
@Controller
@RequestMapping("/document/")
public class DocumentController {
	
	@Autowired
	private IDocumentServiceQry documentServiceQry;
	
	/**
	 * 
	* @Title: overView
	* @Description: TODO(概要 URL概览  缓存使用概览 字典配置 )
	* <p>邮箱地址：524577360@qq.com
	* @throws
	 */
	 @RequestMapping("over/view/url")
	 public String overView(Model model) {
		 //url概览
		 model.addAttribute("urlOverView", documentServiceQry.getUrlOverView());
		 
		 return "document/urlDesign";
	 }
	 
	 
	/**
	 * 
	 * @Title: codeDesign 
	 * @Description: TODO(概要 架构设计图)
	 * <p>邮箱地址：524577360@qq.com @throws
	 */
	@RequestMapping("code/design")
	public String codeDesign(Model model) {

		return "document/dictionaryDesign";
	}
	
	/**
	 * 
	 * @Title: codeDesign 
	 * @Description: TODO(概要 数据库设计)
	 * <p>邮箱地址：524577360@qq.com @throws
	 */
	@RequestMapping("db/design")
	public String dbDesign(Model model) {

		return "document/dictionaryDesign";
	}
	
	/**
	 * 
	 * @Title: codeDesign 
	 * @Description: TODO(概要 功能设计)
	 * <p>邮箱地址：524577360@qq.com @throws
	 */
	@RequestMapping("function/design")
	public String functionDesign(Model model) {

		return "document/dictionaryDesign";
	}
	
	/**
	 * 
	 * @Title: codeDesign 
	 * @Description: TODO(概要 操作手册)
	 * <p>邮箱地址：524577360@qq.com @throws
	 */
	@RequestMapping("operator/design")
	public String operatorDesign(Model model) {

		return "document/dictionaryDesign";
	}
	 
}
